/*  1:   */ package org.intellij.plugins.relaxNG.xml.dom.impl;
/*  2:   */ 
/*  3:   */

import com.intellij.psi.PsiFile;
import com.intellij.util.xml.DomUtil;
import org.intellij.plugins.relaxNG.xml.dom.RngDefine;
import org.intellij.plugins.relaxNG.xml.dom.RngInclude;
import org.jetbrains.annotations.NotNull;

import java.util.List;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */
/*  9:   */
/* 10:   */
/* 11:   */ 
/* 12:   */ public abstract class RngIncludeImpl
/* 13:   */   extends RngDomElementBase
/* 14:   */   implements RngInclude
/* 15:   */ {
/* 16:   */   public void accept(CommonElement.Visitor paramVisitor)
/* 17:   */   {
/* 18:35 */     paramVisitor.visitInclude(this);
/* 19:   */   }
/* 20:   */   
/* 21:   */   public PsiFile getInclude()
/* 22:   */   {
/* 23:39 */     return (PsiFile)getIncludedFile().getValue();
/* 24:   */   }
/* 25:   */   
/* 26:   */   @NotNull
/* 27:   */   public RngDefine[] getOverrides()
/* 28:   */   {
/* 29:45 */     List localList = DomUtil.getChildrenOfType(this, RngDefine.class); RngDefine[] 
/* 30:46 */       tmp25_22 = ((RngDefine[])localList.toArray(new RngDefine[localList.size()]));
/* 31:46 */     if (tmp25_22 == null) {
/* 32:46 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/intellij/plugins/relaxNG/xml/dom/impl/RngIncludeImpl", "getOverrides" }));
/* 33:   */     }
/* 34:46 */     return tmp25_22;
/* 35:   */   }
/* 36:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.intellij.plugins.relaxNG.xml.dom.impl.RngIncludeImpl

 * JD-Core Version:    0.7.0.1

 */